package com.fs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderMapper extends BaseMapper<Order>{

    Map<String, Object> getById(Integer id);

    List<Order> getList(@Param("offset") int offset, @Param("pageSize") int pageSize);

    Long getTotal();
}
